package com.animal.service.impl;

import com.animal.entity.pojo.AGoodsyy;
import com.animal.mapper.GoodsyyMapper;
import com.animal.service.GoodsyyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class GoodsyyServiceImpl implements GoodsyyService {
    @Autowired
    private GoodsyyMapper goodsyyMapper;

    @Override
    public boolean addyy(AGoodsyy aGoodsyy) {
        int count = goodsyyMapper.addyy(aGoodsyy);
        if (count > 0) {
            return true;
        } else {
            return false;
        }
    }



}
